//
//  HESickedModel.m
//  HealthElderly
//
//  Created by 吴欧 on 2021/5/12.
//  Copyright © 2021 honglutec. All rights reserved.
//

#import "HESickedModel.h"

@implementation HESickedModel

+ (NSDictionary *)mj_objectClassInArray{
    return @{@"plans" : [HESickedPlanModel class]
    };
}

@end

@implementation HESickedPlanModel

- (NSString *)KStatusText {
    if (!_KStatusText) {
        _KStatusText = [HEEnums welfareStatusToText: _order_status];
    }
    return _KStatusText;
}

- (UIColor *)KStatusTextColor {
    if (!_KStatusTextColor) {
        if (_order_status == 0) {
            _KStatusTextColor = CNavSubTitleColor;
        }else {
            _KStatusTextColor = CNavBgColor;
        }
    }
    return _KStatusTextColor;
}

@end
